﻿#ifndef M_FHS_H
#define M_FHS_H

#include <head/m_head.h>

#define TD_JOURNAL "td_journal"
#define TD_PURCHASE_LOG "td_purchase_log"
#define TD_RECEIPT "td_receipt"
#define TD_MAC_ADDR "td_mac_addr"
#define TD_TRIGGER "ref_topic_trigger"

#define T_REMIND "Remind"

#define CAT_JOURNAL QStringLiteral("事务")
#define CAT_SCHEDULE QStringLiteral("计划")
#define CAT_MEMO QStringLiteral("备忘")
#define CAT_REMIND QStringLiteral("提醒")
#define MANUAL_INPUT QStringLiteral("-手动输入-")

#define ST_FINISH QStringLiteral("已完成")
#define ST_CANCEL QStringLiteral("已取消")

#define DET_WIDTH 600
#define NAME_WIDTH 180

#define ID_COL 0    //ID
#define MONTH_COL 1 //MONTH
#define DATE_COL 2  //DATE
#define CAT_COL 3   //CATEGORY
#define DET_COL 4   //DETAIL
#define ADD_COL 5   //ADDITION

#endif // M_FHS_H
